package InterviewsExposed;

public class ListElement {
	
	ListElement next;
	private Object data;
	
	public ListElement(){
		this.data = null;
		this.next = null;
	}
	
	public ListElement(Object data){
		
		this.setData(data);
		this.next = null;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
